package com.itheima.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClazzAddDto {
    /*private String name;
    private String room;
    private String beginDate;
    private String endDate;
    private Integer masterId;
    private Integer subject;*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private String subject;
    private LocalDate endDate;
    private Integer masterId;
    private LocalDate beginDate;
    private String room;
    private Integer id;
    private String name;
}
